import {hideLoading, showLoading} from "@tarojs/taro";

class Loading {
    constructor() {
    }

    /**
     * 显示
     * @param content
     */
    show(content: string) {
        showLoading({title: content, mask: true}).then(() => {
        })
    }

    hide() {
        hideLoading()
    }
}

export default new Loading()
